package com.ssy.lingxi.order.api.model.vo.response;

import com.ssy.lingxi.common.constant.workflow.WorkflowProcessKindEnum;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 查询交易流程配置返回VO
 * @author 万宁
 * @version 2.0.0
 * @date 2021-07-25
 */
public class OrderTradeProcessFeignDetailVO implements Serializable {
    private static final long serialVersionUID = -2389349572794579933L;

    /**
     * 流程的ProcessKey，用于调用工作流接口
     */
    private String processKey;

    /**
     * 流程类型枚举
     */
    private WorkflowProcessKindEnum processKind;

    /**
     * 流程启动后，是否执行第一个任务
     */
    private Boolean skipFirstStep;

    /**
     * 流程自动取消时间（小时）
     */
    private BigDecimal expireHours;

    /**
     * 流程中的支付次数
     */
    private Integer payTimes;

    /**
     * 流程中的支付环节配置
     */
    private List<OrderTradeProcessPaymentFeignDetailVO> payments;

    public String getProcessKey() {
        return processKey;
    }

    public void setProcessKey(String processKey) {
        this.processKey = processKey;
    }

    public WorkflowProcessKindEnum getProcessKind() {
        return processKind;
    }

    public void setProcessKind(WorkflowProcessKindEnum processKind) {
        this.processKind = processKind;
    }

    public Boolean getSkipFirstStep() {
        return skipFirstStep;
    }

    public void setSkipFirstStep(Boolean skipFirstStep) {
        this.skipFirstStep = skipFirstStep;
    }

    public BigDecimal getExpireHours() {
        return expireHours;
    }

    public void setExpireHours(BigDecimal expireHours) {
        this.expireHours = expireHours;
    }

    public Integer getPayTimes() {
        return payTimes;
    }

    public void setPayTimes(Integer payTimes) {
        this.payTimes = payTimes;
    }

    public List<OrderTradeProcessPaymentFeignDetailVO> getPayments() {
        return payments;
    }

    public void setPayments(List<OrderTradeProcessPaymentFeignDetailVO> payments) {
        this.payments = payments;
    }
}
